package com.gtm.repository;

import com.gtm.model.Review;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ReviewRepository extends MongoRepository<Review, String> {
    Review findByStuId(String sid);

    Review findByTopicId(String tid);
}
